package com.dzjcloud.dzj.upms.api.feign;

import com.dzjcloud.dzj.common.core.constant.ServiceNameConstants;
import com.dzjcloud.dzj.common.core.utils.R;
import com.dzjcloud.dzj.common.fegin.FeignInterceptor;
import com.dzjcloud.dzj.common.fegin.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * <h3>dzj-cloud</h3>
 * <p>测试fegin</p>
 *
 * @author : DongZeJian
 * @date : 2021-04-30 17:14
 **/
@FeignClient(contextId = "testFeginService",value = ServiceNameConstants.UPMS_SERVICE,configuration = FeignConfig.class)
public interface TestFeginService {

    @GetMapping("/test")
    R<String> test();
}
